userAgent

Returns an Optional that contains a string that is used to override the default user agent or an empty Optional if the custom user agent string was not set.